<?php
include("include/config.inc.php");
$smarty = new Smarty;

$result = mysql_query("SELECT * FROM party");
while($row = mysql_fetch_array($result))
  {
    $smarty->assign('patrynames',array($row['partyName'],$row['mobile1'],$row['mobile2'],$row['add1'],$row['add2'],$row['taluko'],$row['dist'],$row['city'],$row['pin'])); 
  }
  
  $smarty->assign('address', 'jasdan');
include("./bottom.php");
$smarty->display('partyList.tpl');
?>
